package com.lagou.annotations;

import java.lang.annotation.*;

@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface Transactional {
    // 用来标记需要过滤的方法的方法名前缀
    String[] methodPrefix() default {"insert", "delete", "update", "select"};
}
